/*Ext.require([
    'Ext.ux.TabScrollerMenu'
]);*/
Ext.define('archives.view.frame.Center',{
	extend: 'Ext.tab.Panel',
    alias: 'widget.mainCenter',
    itemId:'mainCenter',
    id:'frame-mainCenter',
    initComponent : function(){
        Ext.apply(this,{
            region: 'center', 
            activeTab: 0,
            //border: false,
            resizeTabs: true,
        	enableTabScroll: true,
            defaults: {
               /*autoScroll:true,
               margin : '0 0 0 1',
               bodyPadding: 1*/
            },
           /* plugins: [{
                ptype: 'tabscrollermenu',
                maxText  : 15,
                pageSize : 5
            }],*/
            items: [{
              itemId: 'tab-welcome-first',
              title: _('Welcome'),
              layout: 'fit',
              border:false,
              bodyStyle : 'background-image:url(resources/images/welcome-back.jpg);background-position: center;background-repeat: no-repeat;'
              
            }]
        });
        this.callParent(arguments);
    }
})

